.online-users-container {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 16px;
  max-width: 250px;
  max-height: 300px;
  overflow-y: auto;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000;
}

.online-users-header {
  background-color: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 14px;
}

/* 定制滚动条样式 */
.online-users-container::-webkit-scrollbar {
  width: 6px;
}

.online-users-container::-webkit-scrollbar-thumb {
  background-color: #d9d9d9;
  border-radius: 3px;
}

.online-users-container::-webkit-scrollbar-track {
  background-color: #f5f5f5;
} 